
let { CBaseSkill } = require("./baseSkill"); //导入，右边是对象，左边才能使用{右边对象的键名}这样定义

class CSkill8001 extends CBaseSkill {
    //子类构造要调用父类构造
    constructor() {
        super(); //当子类继承父类后，子类构造要调用父类构造
        this.id = 8001;
        this.name = "射速提升(小）";
        this.desc = "小幅度增加射击速度";
        this.program = [0.2];
    }

    //=========start=========
    load() {
        this.owner.addShootRatio(this.program[0]);
    }
    //=========end===========
}

module.exports = CSkill8001; //导出类
    